import {http} from '@/utils/http'

// 添加采集记录
export function addCrawlerUrl(data:any) {
    return http.post<any>('/admin/crawlerUrl/addCrawlerUrl', data)
}

// 修改采集记录
export function updateCrawlerUrl(data:any) {
    return http.post<any>('/admin/crawlerUrl/updateCrawlerUrl', data)
}

// 删除采集记录
export function deleteCrawlerUrl(id:string) {
    return http.post<any>('/admin/crawlerUrl/deleteCrawlerUrl/'+id)
}

// 获取采集记录详情
export function getCrawlerUrl(id:any) {
    return http.post<any>('/admin/crawlerUrl/getCrawlerUrl/'+id)
}

// 获取采集记录分页列表
export function getCrawlerUrlPage(data:any) {
    return http.post<any>('/admin/crawlerUrl/getCrawlerUrlPage', data)
}

// 执行采集任务
export function addCrawlerTask(data: any) {
    return http.post<any>('/admin/crawlerTask/addCrawlerTask', data)
}





















